UCF STIG Viewer Logo
Changes are coming to https://stigviewer.com. Take our survey to help us understand your usage and how we can better serve you in the future.
Take Survey

The smbpasswd file must be group-owned by root.


Overview

Finding ID Version Rule ID IA Controls Severity
V-1058 GEN006180 SV-64069r1_rule ECLP-1 Medium
Description
If the smbpasswd file is not group-owned by root, the smbpasswd file may be maliciously accessed or modified, potentially resulting in the compromise of Samba accounts.
STIG Date
Oracle Linux 5 Security Technical Implementation Guide 2015-03-26

Details

Check Text ( C-52481r1_chk )
Check "smbpasswd" ownership:

# ls -lL /etc/samba/passdb.tdb /etc/samba/secrets.tdb

If the "smbpasswd" file is not group-owned by root, this is a finding.
Fix Text (F-54597r2_fix)
Use the chgrp command to ensure that the group owner of the smbpasswd file is root.

For instance:
# chgrp root /etc/samba/passdb.tdb /etc/samba/secrets.tdb